package com.like.banzipao.server.model

/**
 * 优惠券
 *
 * @param number    优惠券数量
 * @param price     优惠券单价
 * @param discount  优惠券折扣
 */
data class Coupons(val number: Int, val price: Float, val discount: Float)

fun getCoupons(): List<Coupons> {
    return listOf(
        Coupons(10, 0.2f, 1f),
        Coupons(50, 0.2f, 0.9f),
        Coupons(100, 0.2f, 0.8f),
        Coupons(300, 0.2f, 0.7f),
        Coupons(500, 0.2f, 0.6f),
        Coupons(1000, 0.2f, 0.5f),
    )
}
